package com.leyou.api;

import com.leyou.pojo.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: taft
 * @Date: 2018-11-29 11:46
 */
public interface UserApi {
    @PostMapping("query")
    User queryUser(
            @RequestParam("username") String username,
            @RequestParam("password") String password);
}
